function getLength(args) {
    return args.length
}

console.log(getLength("aaaaa"))
console.log(getLength(["abc", "cba", "nba"]))

console.log(getLength(123)) // undefined 因为有一层包装类型 Number const num = new Number(123)
console.log(getLength())